package cn.lin.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Getter;
import lombok.Setter;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * TODO ：班级
 * @author cn.Lin
 * @create 2024-12-01-21:08
 */
@Setter
@Getter
public class Classes {

    private Integer id;

    private String className;

    private String classDesc;

    /**
     * 课程id
     */
    private Integer courseId;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date beginDate;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date endDate;

    private Integer teacherId;

    /**
     * 状态：发布/未发布
     */
    private String status;
    private String isend;


}
